<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="../../include/admincontent.jsp" %>
<div id="Content">
    <form id="Validform" method="post" action="/sysconfig/SaveZysxAction">
        <div class="btnbar">
            <button type="submit" class="save">保 存</button>
        </div>
        <div class="linebar">面试注意事项</div>
        <table class="treeTable inputform">
            <tbody>
            <tr>
                <td width="105">注意事项内容</td>
                <td>
                    <div><textarea id="mszysx" name="mszysx" datatype="*" nullmsg="注意事项内容不能为空！"
                                   style="width:99%;height:400px;">${mszysx}</textarea></div>
                </td>
            </tr>
            </tbody>
        </table>
    </form>

</div>
<script charset="utf-8" src="/resources/js/plugins/kindeditor-4.1.10/kindeditor-min.js"></script>
<script charset="utf-8" src="/resources/js/plugins/kindeditor-4.1.10/lang/zh_CN.js"></script>
<script type="text/javascript">
    //实例化编辑器
    KindEditor.ready(function (K) {
        K.create('#mszysx', {
            resizeType: 1,
            items: ['source', 'removeformat', 'fullscreen'],
            afterBlur: function () {
                this.sync();
            }
        });
    });

    $(function () {
        document.onkeydown=function()   {
            if (event.ctrlKey == true && event.keyCode == 83) {//Ctrl+S
                event.preventDefault();
                layer.confirm('是否保存表单信息!',{btn: ['保存','取消'] ,//按钮
                    title:'提示'},function () {
                    $("#Validform .save").click();
                    layer.closeAll('dialog');
                },function () {

                });
                event.returnvalue = false;
                return false;
            }

        }
    });




</script>
</body>
</html>